function jumpFloor(number)
{
//     // write code here
//     if(number<=2){
//         return number
//     }
//     return jumpFloor(number-1)+jumpFloor(number-2)
    let db = new Array(number).fill(number)
    db[0] = 1;
    db[1] = 1;
    for(let i = 2;i<=number;i++){
        db[i] = db[i-1]+db[i-2]
    }
    return db[number]
    
}
module.exports = {
    jumpFloor : jumpFloor
};